class T {
    int &r; // Reference jako datov sloka
public:
    T(int &x) // Konstruktor
    :r(x) // Inicializace zde je povinn
    {/* ... */}
    // a dal sloky
};
